<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<div class="container_0 clearfix">
	<div class="box no-border">

		<isperp:grid url="app/dict/list" gridId="dictGrid"
			gridTitle="${pageTitle}" cusFormatterActions="true"
			cusEditUrl="app/dict/edit" ondbClickRowEvent="dictGrid.edit(rowid);"
			cusDeleteUrl="app/dict/delete">

			<jsp:attribute name="toolbar">
 				<isperp:toolbar id="dictToolbar">
	 				<isperp:button id="dictCreate" icon="icon-plus" text="新增"
						onclick="dictGrid.create();"></isperp:button>
	 				
 				</isperp:toolbar>
			</jsp:attribute>

			<jsp:attribute name="searchbar">
					<table class="search-table">
						<tbody>
							<tr>
								<td class="td1">应用类型编码：</td>
							<td class="td2">
								 <form:select path="dictTypes" field="typeCode" op="cn"
									cssClass="search">
										<form:option value="">--所有--</form:option>
										<form:options items="${dictTypes }" itemLabel="description"
										itemValue="typeCode" />
									</form:select>
								</td>
								<td class="td1"> 编码：</td>
							<td class="td2"><input type="text" field="typeCode" op="cn">
							</td>
						
								<td class="td1">描述：</td>
								<td class="td2"><input type="text" field="description"
								op="cn">
							</td>
							</tr>
							<tr>
							<td class="td1">内容：</td>
							<td class="td2" colspan="5"><input type="text" field="name"
								op="cn">
							</td>
							 
							</tr>
					</tbody>
				</table>
			</jsp:attribute>
			<jsp:body>
				<isperp:column name="id" title="id" hidden="true"></isperp:column>
				<isperp:column name="typeCode" title="应用类型编码" width="150">
				</isperp:column>
				<isperp:column name="description" title="描述" width="150">
				</isperp:column>
				<isperp:column name="name" title="名称" width="120">
				</isperp:column>
				<isperp:column name="code" title="代码" width="80">
				</isperp:column>
				<isperp:column name="enable" title="启用？" width="50">
				</isperp:column>
				<isperp:column name="orderNum" title="排列顺序" width="50">
				</isperp:column>
			</jsp:body>
		</isperp:grid>
	</div>

</div>
